package main

import "fmt"

func foo() *int {
	t := 3
	return &t
}

func main() {
	x := foo()

	tmp := *x
	fmt.Println(tmp)
}
